#include<iostream>
#include <math.h>
using namespace std;
int main ()
{
    int a,b;

    cout<<"Ingrese El Rango De Numeros"<<endl;
    cin>>a;
    cin>>b;
    if(a<b)
    {
        while(a<(b-1))
        {
            a=a+1;
            cout<<" "<<a;
        }

    }else
    {
        while(a>(b+1))
        {
            a=a-1;
            cout<<" "<<a;
        }
    }
        return 1;
}
